/**
 * example路由配置
 * @return {Promise<*>|*}
 * @author leon
 * @createTime 2018-08-17 14:35:32
 */
const Main = () => import('@/views/main');
const ExamplePage = () => import('@/views/example');

export default [
    {
        path: '/example',
        component: Main,
        name: 'example',
        meta: {
            unfold: false,
            name: 'example'
        },
        children: [
            {
                path: '',
                name: 'examplePage',
                component: ExamplePage,
                meta: {
                    name: 'example',
                    requireAuth: false
                }
            }
        ],

        redirect: {
            name: 'examplePage'
        }
    }
]
